package com.wzy.authority.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @program: authorityManagement
 * @description: Security的请求拦截器
 * @author: 1
 * @create: 2020-03-25 10:14
 **/
@Controller
public class SecurityController {

    /**
     * 登录接口
     * @return
     */
    @GetMapping("/login.html")
    public String loginSecurity(){
        return "login";
    }


    /**
     * 403无权限页面
     * @return
     */
    @GetMapping("/403.html")
    public String permissionSecurity(){
        return "403";
    }
}
